import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import Element from 'element-ui'
import "element-ui/lib/theme-chalk/index.css"

import axios from 'axios'
import "default-passive-events";
import moment from "moment"

import global from "./utils/globalFunction"
import '@/plugins/vue-mavon-editor' // mavon-editor
import '@/plugins/vue-clipboard2.js' // vue-clipboard2.js

Vue.prototype.$axios = axios //
Vue.prototype.$moment = moment
Vue.use(Element)

Vue.config.productionTip = false
Vue.prototype.baseUrl = process.env.NODE_ENV === 'development' ? process.env.VUE_APP_BASE_API : ''
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
